﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ZK.Client.WinForm
{
    public partial class FrmReName : Form
    {
        public FrmReName()
        {
            InitializeComponent();
        }

        public string ReName { get; set; }

      
        private void FrmReName_Load(object sender, EventArgs e)
        {
            txtReName.Text = ReName.Trim();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnSure_Click(object sender, EventArgs e)
        {
            ReName = txtReName.Text.Trim();
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
